<?php

namespace IDock\Insurance\MACN\Response;

use IDock\Http\Response;
use IDock\Printer\PolicyPaymentPrinter;

class PolicyPaymentResponse extends AllMACNResponse
{

    public function setUrl($url): Response
    {
        $policyPaymentPrinter = new PolicyPaymentPrinter();

        $policyPaymentPrinter->payUrl = $url;

        $this->printer = $policyPaymentPrinter;
        return $this;
    }
}